#include<iostream>
using namespace std;
const int MAX_NUM = 100;
int main()
{
	int a[5][5]={{1,2,3,4,5},{11,5,6,7,24},{8,9,10,11,25},{12,13,14,15,16},{17,18,19,20,21}};
	for(int i=0;i<5;++i){
		for(int j=0;j<5;++j)
		cout<<a[i][j]<<" ";
		cout<<endl;
	}
	return 0;
}